GST registration is PAN-based. Therefore as long as the constitution of the firm has the same PAN number, there shall be only one registration in the same state even if there are more than one business. In such case, it will be treated as different vertical.
08 AABCS 9999 M 1 ZP
State code PAN number No of vertical Blank and Check Code
For one business – 1
For Two businesses – 2
And so on
When you say two “types” of businesses, I’m assuming you mean to say two different business verticals. In such case, you have an option to take separate registration for each of such business verticals. As I said, it’s an option, it’s not mandatory, you can continue with a single registration in the state for both your businesses.