Funding worth £40,000 has been awarded to 22 organisations in York to host warm spaces this winter.