You can find GST number of a company by its name. It is vert easy process. Since you have CIN number of company, you must have the name of company also.
You can use GSTIN verification with name tool of KnowyourGST to find GST details by using name of the company.
If you have only CIN and not company name then first find the name of company on MCA website.