Your secondary iPad/iPhone needs to be logged in with the Apple ID that made the original purchases before you install the app. 

Once installed, you can enter the in-app Settings and tap the Restore Purchases button. :)