United Nations Secretary General Antonio Guterres has welcomed the announcement of a ceasefire deal in the Gaza conflict.