The US president said he would issue an executive order to enforce voter ID and other nationwide election reforms if Congress fails to act.