First of all decide, you want to live with him or not?
If yes, then try to settled the matter amicably with him.
If no, then file a criminal complaint before magistrate court against them for domestic violence and claim protection, right to residence, maintenance for yourself and for daughter, child custody and compensation under section 18,19,20,21&22 of domestic violence act 2005.
You may file a criminal complaint against them for cruelty and beating.
You may file a maintained case under section 125 of Cr.P.C. and claim maintenance.
Feel Free to Call