A ceasefire and hostage deal was announced under the first phase of US President Donald Trump's initiative to end the war in Gaza.