Your keyboard and mouse are hard wired. You can't just pull the cable off and put a new one on. Most likely it's either your rollerball/optical sensor/laser (might need a dusting or cleaning), or you need a mousepad that has the appropriate surface for the type of mouse you have.