Two men who allegedly threw improvised devices at protesters outside the home of New York Mayor Zohran Mamdani are charged with terrorism.