The whole identical twins separated at birth thing makes me believe environment is the only thing a parent can provide.
Children do not listen to their parents for very long.
A decent school, technology like a laptop, and maybe an awareness to dissuade bad friends. That seems like all you can do.