Once you have a metal detector, you can equip it in the same way you would with a lantern, going into your weapon wheel. If a coin is close by, your controller will start to vibrate and the metal detector will start to audibly tick.