Bomb explodes in Egypt, kills three alleged militants