U.S. President Donald Trump's former campaign chairman Paul Manafort has agreed to plead guilty to two criminal counts as part of a deal with Special Counsel Robert Mueller, court documents showed on Friday in what could be a blow to Trump in the long-running investigation of Russian election influence.