Two men charged with spying for the Iranian intelligence service on members of the Jewish community in London pleaded not guilty on Friday.