The UK prime minister says Afghanistan’s president will be set targets for training Afghan forces and tackling corruption.