There are no known health risks associated with the practice of obtaining a child's fingerprint. The only risk is that you may be asked to do it more than once, which can become annoying and time consuming for parents.
You should use Baby safe ink which is free from harmful chemicals and make sure you clean the baby's fingers properly, with soap and water.