The U.S. president has earlier warned of a "bad day for Iran" if there was no progress in nuclear program talks.