The headline of the posting says your color PDF documents is exported in Grayscale. The text says it is exported in color. Which is it?
Version of InDesign? Exactly which PDF preset are you using when exporting? What PDF reader are you using to view the PDF file?
It is happening if you choose in the Output section of the export dialog a greyscale profile.