A 2-year-old boy presents with a 2-day history of cough, poor feeding and increasing work of breathing. He has subcostal recession, widespread crackles and wheeze. Oxygen saturation is 90% on air, respiratory rate 60/min and he is taking less than half his normal feeds. What is the most appropriate management?