The Group of 20 meeting in Pittsburgh planned to agree on Friday to phase out subsidies on oil , gas and coal , and so curb global greenhouse gases by about a tenth by 2050 , said a draft text seen by Reuters .