Found a coiled hose inside the fridge which carries water to both the dispenser and ice maker. Water inside the hose seems frozen. Used kitchen towel soaked in hot water to thaw the water in the coiled hose. After a few minutes, water came out of the dispenser. After a few hours, ice cubes started coming out of the ice maker.
Thanks for the info.