Musharraf, Karzai pledge to fight terror