As per the expert guidance, we suggest to have maximum 9-10 ad groups, though you are free to add more ad groups but it is recommended to have manageable ad groups that you can track and optimise performance on regular basis.
Keywords are the important part of our campaign structure, based on keywords searched on google your ads will get triggered for action. We recommend to have maximum 15 to 25 keywords per ad group.