What is your syllabus for 12th? If it is CBSE, then there may have a possibility to write exam in Doha. What ever case is, you better consult with any Indian school (MES, BPS, DPS etc) authorities in Doha. They will help you to find a solution for your further exams/studies.
Best of luck