The obligation is on both of them to pay the Zakat for themselves, as well as those under their maintenance in proportion of the amount they earn. For example, in a family of five, the father may be earning more than the son, so the son may pay for himself as well as one other person, while the father pays for himself as well as the rest of the family. It is also valid if the father pays the Zakat for all the family.