Two of the three senior Hamas commanders who were killed early Thursday have helped plan dozens of terror attacks on Israel over the past two decades, the Shin Bet security service says.