Civil rights groups said they filed a lawsuit against US President Donald Trump's administration on Monday over the government's attempt to restrict federal childcare and family assistance funding.