iOS 4 for the 3GS has already been jailbroken. Jailbreak and install MyWi.
I don't think the BT stack on the iPad supports tethering. Whether a modified stack ala BTStack (which is currently only for mouse, kb and GPS) exists including support for tethering I'm not sure.