Palestinian and Israeli officials say two Palestinian militants have been killed in an Israeli missile attack in the Gaza Strip .