On Wednesday , the two sides agreed Ukraine will pay nearly double the price for natural gas it paid in 2005 .