Is it ok to take hydroxyzine and cetirizine both together?

Yes, but... Hydroxyzine and certirizine are both antihistamines. They will not have much of an additive effect. You can take the certirizine in the mornings, and the Hydroxyzine at night for some benefit.