The Israeli military says its forces have killed two Palestinian militants in the northern Gaza Strip .