Donald Trump urges Hamas to move quickly to release captives and finalise negotiations over his plan to end the war.