Simply add the game to your Steam cart and follow the checkout procedure.
When it comes to purchasing BeamNG.drive, you have a couple of options. If you have a Steam account and you buy your games through Steam, the easiest option available to you is to simply purchase the game from the Steam store.