Spending towards temporary housing for the homeless in Windsor and Maidenhead doubled since 2018-19, new figures show.