Mental harassment by husband and mother-in-law

I am from different state and currently residing in Bangalore. I got married in April 2015 and shifted here few months later with my husband. I have a 1 year baby girl. But since the time my mother-in-law has come here in order to take care of the baby, she always tries to create situations to beat me up by my husband.My husband blindly follows her mother and whatever she says, he accepts that only. My husband never talks to me. And whenever I argues on something that is wrong, he beats me up. I am also a working woman but they always try to create situations to leave my job. They are not even allowing me to meet my mother and father also Who are in the same city They always ask me to demand more from my parents even after 2 years of marriage. When I am asking that I want to go to my parents home, they say that if u go then never come back again. They also threaten me to take my child away if I take any legal action against all these. I am somehow trying to make everything correct and tolerating all these. But everyday is getting worse. My mother in law keeps on training my husband against me and my parents in fronnt of me also. Please provide me any solution what should I do now. If I take any legal action, how I can I get my baby's custody. Please suggest !!!!!