US President Donald Trump has announced that Moscow and Kiev have agreed to an immediate halt to attacks on each other's energy infrastructure.