Coinbase does not allow you to buy bitcoin directly with SMS. You can however connect your bank account or credit card.

Once connected you can control your Coinbase account via SMS and buy quickly without needing to login to your account.

I reccomend using your Bank Account to buy Bitcoin as it has the highest limits and lowest fees!