Negative reaction was swiftly given to U.S. President Donald Trump's decision to formally recognize Jerusalem as Israel's capital.