Officials announced that Israel and Hamas have agreed to a ceasefire deal to pause more than 15 months of war and release hostages held in Gaza.