Govs. Josh Shapiro and Andy Beshear are joining the legal battle against President Donald Trump's funding freeze.