You should be able to purchase from any computer with internet access. You can have your copy of Steam on as many computers as you want as long as you are only signed into one of them at a time.
You don't even need a computer - AFAIK, both the Android and iDevice versions allow you to buy programs through it (to then obviously download later on your PC/Mac).