Go to Settings > Accessibility, then tap Home Button (on an iPad with a Home button) or Top Button (on other iPad models).
Choose the speed required to double or triple-click.
Choose how iPad responds when you press and hold the top or Home button.