U.S. President Obama told a gathering of almost 200 world leaders they must act now on combating climate change or it will be too late.