They may need drivers to work, or they drivers may not be inside Windows 8.1 during the initial installation or failed to install.
Try connecting a USB mouse or keyboard and hopefully they will work. From there go to your manufacturer's web site and try to find drivers for the laptop keyboard and touchpad.