Depends on where you live. Oftentimes, mineral rights belong to the landowner. They can be sold or leased. I doubt that buried coinage/treasure would be considered a mineral.*
Overall, a buried cache of rare coins is much more likely to be regarded as the property of the landholder than the mineral rights. In some land deeds, the mineral and oil rights are simply excluded.