Global energy investment is set to increase by 8% in 2022 to reach $2.4 trillion, according to a new report by the International Energy Agency (IEA).