Northern USA border with Canada (map) is stretching in its full length, from east coast to the west coast. Forty-eight US states are bounded by the Atlantic Ocean on the east coast and on the west by the Pacific Ocean.
The other two states:
State of Alaska on the north of the continent is tucked in north-west from the Canadian province of Yukon, on the Artic Ocean.
Islands of Hawaii are located in the Pacific ocean.