After months of tense negotiations, Trump has announced Israel and Hamas agreed to the first phase of a ceasefire deal.