Two Israelis have been charged with using classified military information to place bets on how future events will unfold.