Go to baharain embassy in Qatar and apply for 14 days visa for your family. You will get visa application form there.
You follow corniche after sheraton roundabout , pass four seasons and further ~1Km, this is what I recall.

Embassy of Bahrain in Doha, Qatar

Doha New Area, Square No. 31, Al- Siedari Street, Building - 5846
P.O.Box: 24888
Doha
Qatar
Phone:
+974-483-9360
+974-483-9361
Fax:
+974-483-1018