Welcome to Apple Support Communities
You can download an application in all the devices with your Apple ID as many times as you want for free. You may have to pay again for it if the developer releases an update and wants to make it paid.
It's recommended to have the same Apple ID in all your family devices, but you can also use it with a different Apple ID. In that case, you will have to let your family know your Apple ID password to update the application