Locate the rows you want to group together
Make sure they are consecutive, as Google Sheets only allows grouping of adjacent rows
To select multiple rows, click on the number of the first row and drag downward to include the additional rows you wish to group