Do dogs have nerves on nails?

Yes they do. Its commonly referred to as their 'quick'. This is why if you cut their nails too short it hurts them and they bleed.