Joe Biden kept his campaign pledge to rejoin the Paris climate agreement on his first day in the White House, after Trump pulled out of the deal.