This is a difficult situation, and your friends must know you are there for them. Start with a simple conversation to understand how they are feeling and how you can support them. It may be worth offering them professional help or recommending that they talk to someone who has been through drugs by addiction. The main thing is to be there and show that you care.