Establish the respect that you're still a parent first. From there you compromise/agree on rules and stuffs. Get to know about their lives but not delve in too much..
Choose your battles . Be clear about expectations and firm and consistent about consequences. Let them know that you love them regardless.
ask the question and answer the question leading them to talk