You must be sharing the same Apple ID?
Go to Settings > Messages and there are two settings to check on each phone.
Text Message Forwarding
Send & Receive
Make sure you turn off the option to send them to the other number from each phone.
Question: updated to ios 11.2 and my two phones are now sharing text messages