Egypt is imposing early closing times for shops, cafes and restaurants to cut oil use as energy prices surge during the war.