India formally joined the Paris agreement on tackling climate change Sunday, the UN said.