McCain was speaking to voters in the battleground state of Pennsylvania just three weeks before election day as he prepares to go head to head with Mr Obama in the third and final presidential debate later .