Can the OS X keychain juggle two accounts for the same site?
No - you'll want a more full featured password manager like the one gentmatt recommended in the comments.

You could do some kludgey web proxy to give the subdomain a separate top level domain, but that's way more hassle than most would consider appropriate for solving the problem you pose.