Bill would use coal money for affordable housing projects