Place each button in a div with the class of col-4. There are 12 columns in bootstrap so giving each button four columns, will mean there are three buttons in each row code example
Example: bootstrap grid class
col-12 col-sm-4 col-md-3 col-lg-12 col-xl-12