Technology should be used to improve people's lives and to connect people as members of one human family, Pope Francis said.