Prime Minister Justin Trudeau says the government has reached a deal with British Columbia on federal child care funding.