eat lots of carbs, proteins and enough fats. You can use those weight gaining supplements. The best thing you can do is eat enormous quantities of food and drink lots of water at night before the fasting day and eat well at the 'iftar' as well. your workout should be weightlifting, no cardio if you dont want to lose weight. hope this helps you out a bit.