You can reset the password from the Steam site if you are having troubles logging in.
Steam account password search procedure
1)https://help.steampowered.com/en/wizard/HelpWithLoginInfo?issueid=406 Go to the link.
2) Enter your account or email address on the page you moved.
3) Follow the instructions on the following pages to proceed.