By default the Centos 7 Apache version uses version 2.4.6. by default and cannot be downgraded or upgraded. Apache version 2.4.6 does not come with the mod_http2.so module which is a component for HTTP/2.
Here is how to enable HTTP2 on centos 7 via yum.
yum install centos-release-scl yum install httpd24
Check if the mod_http2.so module has been updated.
grep -r http2 /opt/rh/httpd24/root/etc/httpd/ /opt/rh/httpd24/root/etc/httpd/conf.modules.d/00-base.conf:LoadModule http2_module modules/mod_http2.so
Then verify the syntax.
scl enable httpd24 -- bash -l
Then enable the new httpd.
systemctl disable --now httpd
systemctl enable --now httpd24-httpd
Congratulations! Your httpd is now equipped with the HTTP/2 module!