Try reading the manual for the particular product you have. They either have a set default value or on newer stuff they have it printed on a sticker on the bottom of the router.
It should not matter, connect to the device with a ethernet cable and configure new ssid and password to whatever you want.