WBO world welterweight champion Manny Pacquiao and Amir Khan say they have agreed to terms for a fight.