Two Israeli soldiers were killed in Gaza fighting on Friday, taking the total number of military deaths since the start of ground operations there to 37.