Two men, accused of spying on Israeli and Jewish facilities in the US, have been charged with acting as agents of the Iranian government without notification.