Egypt said Saturday its security forces have killed 40 militants in raids on their hideouts in the Sinai Peninsula and the Greater Cairo area, just hours after a roadside bomb targeted a tourist bus in the capital, killing three Vietnamese tourists and their Egyptian guide.