We highly suggest reading this short eBook, which covers everything you'll need to know about doing great customer discovery interviews:
Talking to Humans.pdf
The following video may also be helpful to learn about effective customer discovery techniques:
https://www.youtube.com/watch?v=ux7WO56l-kw
Customer discovery interview checklist