The NSW government has provided a $20m social impact investment for not-for-profits tackling homelessness