The number of French citizens killed in the attacks by Hamas in Israel has risen to 24, said French Prime Minister Elisabeth Borne.