You will get only 1 provisional id and password if both the firms are in one state with same PAN. you have to migrate from that provisional id and shown the second firm address as additional place of business. however if the segment is different i.e business vertical, than u can apply for separate gst no. with the permission of commissioner.
As per GST Act, each business verticle within a state is to be registered seperately under even one PAN. Provisions of ACT pertaining to Registration is superior to Rules of Registration . Thus if you have 2 distinct factories(business verticles) you mandatorily need 2 seperate registration . Please read the Act pertaining to registration.
Further, you are required to request VAT authorities for issuance of provisional ID and password for your 2nd factory by telling them that you need 2nd registration under Section 20)(2) pertaining to seperate registration for each business verticles. Pl hurry, only 5 days are remaining . By the by, we also got 2 provisional id and passwords for our 2 seperate factories within a state under a single PAN. So dont get confused and approach your VAT authorities as was done by us.