I had been there recently, you will find all types of hotels there. Inshallah you will not have any problems in finding suitable hotel which cater to your need.
In Madina I paid 375 Saudi Riyals per day, and it was closest to the Masjid, but the rate may vary for june / july as most of the locals and expatriates will be coming for Omrah as it is school holidays.
So plan the hotels etc. I will try to get the contact telephone nos of hotels etc but i should know which one you want to stay in - Five star, four star, three star, apartment type, etc etc etc
For Madina If you tell me I can book the same hotel I stayed for you in advance as I have a friend there who has good relations with the Elaf Taiba - hotel managment. I got atleast 150-200 Discount as the normal rate was SR500- 550. But i should get the exact date and no. of days of stay.
Please note that there is a rent control which is applied by government based on category of hotel etc, and rates vary according to the month/ season in Makkah and Madinah based.
Masallama