US President Donald Trump warned Iran of the "consequences of not making a deal" ahead of talks between the United States and the Islamic republic in Geneva.