We are just fellow users and can't fix bugs. We can try to troubleshot though. Let's start by heading over to Settings on the iPad, then scrolling down to "Apps", then look for Messages. Once you find it, scroll down and make sure the "iMessage" toggle is on. Also, tap on "Send & Receive", make sure your iCloud email is allowed to send and receive iMessages.
For the Mac, go to Messages. Then go to the menu bar and click on "Messages", then click on Settings. Once under that, head over to the "iMessage" tab. Under their make sure your phone number and email are selected.