Decarbonization of oil and gas