US President Donald Trump has announced a ceasefire agreement with Iran.