Use the remaining coins by clicking on them, then click on the first machine to buy witht he coin in hand.
Sorry for this being so obtuse, it will be changed in the first page.