U.S. President Donald Trump said on Monday that Ukraine and Russia had agreed not to hit each other's energy targets.