The dollar extended its losses to reach a two-month low against a basket of currencies on rising hopes that the U.S. and Iran could soon reach a peace deal.